using System;

namespace Sagile.Nepma
{
    /// <summary>
    /// Defines an event that is raised when a exception is thrown during the task processing
    /// </summary>
    public interface IExceptionReporter
    {
        /// <summary>
        /// Occurs when an exception is thrown during the process.
        /// </summary>
        event EventHandler<TaskExceptionThrownEventArgs> TaskExceptionThrown;
    }
}
